<?php

namespace app\admin\controller\express;

use app\admin\library\Auth;
use app\common\controller\Backend;
use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
use PhpOffice\PhpSpreadsheet\Reader\Csv;
use PhpOffice\PhpSpreadsheet\Reader\Xls;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use think\Exception;
use think\exception\PDOException;

/**
 * 轮播图管理
 *
 * @icon fa fa-circle-o
 */
class Banner extends Backend
{

    /**
     * Banner模型对象
     * @var \app\admin\model\express\Banner
     */
    protected $model = null;

    public function _initialize()
    {
        parent::_initialize();
        $this->model = new \app\admin\model\express\Banner;
        $this->view->assign("statusList", $this->model->getStatusList());
    }
}
